<%@page import="br.com.digidata.negocio.*"%>
<%@page import="br.com.digidata.modelo.*"%>
<%
    PacienteDAO dao = new PacienteDAO();
    Paciente p = dao.getById(Integer.parseInt(request.getParameter("id")));    
%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<form method="POST" action="pacienteEditDestino.jsp" id="pacienteEdit">
    <label for="nome">Nome</label>
    <input type="text" id="nome" name="nome" value="<%=p.getNome()%>"  class="text ui-widget-content ui-corner-all"/>
    <label for="cel">Celular</label>
    <input type="text" id="cel" name="cel" value="<%=p.getTelefoneCelular()%>" class="text ui-widget-content ui-corner-all"/>
    <label for="convenio">Conv&ecirc;nio</label>
    <input type="text" id="convenio" name="convenio" value="<%=p.getConvenio()%>" class="text ui-widget-content ui-corner-all"/>
    <input type="hidden" name="id" value="<%=p.getId()%>"/>
</form>
